Ext.define('Seq.form.field.Number', {
	        extend : 'Ext.form.field.Number',
	        xtype : 'xnumberfield',

	        hideTrigger : true,
	        allowDecimals : true,
	        enforceMaxLength : true,
	        maxLength : 14,
	        decimalPrecision : 2,

	        allowClear : false,
	        setValue : function(value) {
		        var me = this;
		        if (me.allowClear) {
			        me.triggers.clear.setHidden(Ext.isEmpty(value));
		        }
		        me.callParent(arguments);
	        },

	        constructor : function(config) {
		        var me = this;
		        if (false != config.allowClear) {
			        config.triggers = {
				        clear : {
					        cls : 'x-form-clear-trigger',
					        width : '24px !important',
					        weight : -1,
					        hidden : true,
					        handler : function() {
						        var me = this, oldValue = me.getValue();
						        me.setValue(null);
						        me.fireEvent('clear', me, null, oldValue);
					        }
				        }
			        };
		        }
		        me.callParent(arguments);
	        }

        });